package com.imooc.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * jwt资源类
 * @author liansen
 * @create 01-09-18:29
 */
@Data
@Component
@PropertySource("classpath:jwt.properties")
@ConfigurationProperties(prefix = "auth")
public class JwtProperties {

    private String key;
}
